/*
 * chat_connection.h
 *
 *  Created on: 2012-6-26
 *      Author: rendong
 */

#ifndef CHAT_CONNECTION_H_
#define CHAT_CONNECTION_H_

#include "../core/chat_types.h"
#include "../os/chat_file.h"

void chat_client_handler_new(int fd, struct sockaddr_in *clientaddr,  chat_server_config_t * config);
void chat_client_handler_read(chat_session_t *session);
void chat_client_handler_close(int fd, chat_server_config_t * config);

void chat_start_chat_server();


#endif /* CHAT_CONNECTION_H_ */
